@import "../../../customGlobal.scss";
@supports (bottom: env(safe-area-inset-bottom)) {
  .call-box {
    padding-bottom: calc(env(safe-area-inset-bottom) + 3%);
  }
}
@supports (bottom: constant(safe-area-inset-bottom)) {
  .call-box {
    padding-bottom: calc(constant(safe-area-inset-bottom) + 3%);
  }
}
.call-box {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  left: 0;
  right: 0;
  bottom: 0;
  order: -1;
  width: 100%;
  z-index: 10;
  box-shadow: 0rem -0.19rem 0.38rem 0rem rgba(133, 136, 148, 0.06);
  background: #fff;
  margin-bottom: 0;
  padding-top: 0.63rem;
  padding-bottom: 0.63rem;
  padding-left: 0.94rem;
  padding-right: 0.94rem;
  height: 4rem;
}

.call-box .img {
  position: absolute;
  background: rgba(44, 48, 51, 1);
  @if $appType == "LJ" {
    background: #41434d;
  }
  border-radius: 0.5rem;
  font-size: 0.69rem;
  height: 1rem;
  width: 2rem;
  text-align: center;
  color: #fff;
  margin-top: 1.56rem;
  margin-left: 0.75rem;
}
.call-box .photo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  margin-right: 0.63rem;
}

.call-box h1 {
  font-size: 1rem;
  color: #27282e;
  font-weight: bold;
  // line-height: 1rem;
  i {
    background: rgba(134, 149, 179, 0.15);
    border-radius: 2px;
    font-size: 0.69rem;
    color: #8695b3;
    margin-left: 0.31rem;
    padding: 0 0.31rem;
  }
}

.call-box p {
  color: #8d8e94;
  span {
    margin-right: 5px;
    font-size: 0.75rem;
  }
}
.call-box,
.call-box-xwtwo,
.call-box-xw {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  left: 0;
  right: 0;
  bottom: 0;
  order: -1;
  width: 100%;
  z-index: 10;
  box-shadow: 0 -1px 6px 0 rgba(133, 136, 148, 0.1);
  background: #fff;
  margin-bottom: 0;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 0.63rem;
  padding-right: 0.63rem;
  height: 4rem;

  .img {
    position: absolute;
    background: rgba(44, 48, 51, 1);
    border-radius: 0.5rem;
    font-size: 0.69rem;
    height: 1rem;
    width: 2rem;
    text-align: center;
    color: #fff;
    margin-top: 1.56rem;
    margin-left: 0.75rem;
  }
  .photo {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    margin-right: 0.63rem;
  }

  h1 {
    font-size: 1rem;
    color: #27282e;
    @if $appType == "LJ" {
      color: $LJLabelColor;
    }
    font-weight: bold;
    i {
      background: rgba(134, 149, 179, 0.15);
      border-radius: 2px;
      font-size: 0.69rem;
      color: #8695b3;
      margin-left: 0.31rem;
      padding: 0 0.31rem;
    }
  }

  p {
    color: #8d8e94;
    @if $appType == "LJ" {
      color: #959ba6;
    }
    span {
      margin-right: 5px;
      font-size: 0.75rem;
    }
  }

  .chat {
    display: block;
    width: 4.94rem;
    height: 2.38rem;
    line-height: 2.38rem;
    text-align: center;
    font-size: 0.81rem;
    color: #ffffff;
    letter-spacing: 0;
    font-weight: bold;
    // background: linear-gradient(270deg, rgba(255, 157, 20, 1) 0%, rgba(255, 191, 0, 1) 99%);
    background: #e8eaed;
    border-radius: 1.38rem 0rem 0rem 1.38rem;
  }
  .phone {
    display: block;
    width: 4.94rem;
    height: 2.38rem;
    line-height: 2.38rem;
    text-align: center;
    // background: linear-gradient(270deg, rgba(247, 72, 37, 1) 0%, rgba(255, 128, 0, 1) 100%);
    background: #e8eaed;
    font-size: 0.81rem;
    color: #ffffff;
    letter-spacing: 0;
    font-weight: bold;
    border-radius: 0rem 1.38rem 1.38rem 0rem;
    /* border-radius: 0.31rem; */
    /* background-image: linear-gradient(90deg, #ff9500 0%, #ff6314 100%); */
  }

  .chatBg {
    
    background: linear-gradient(270deg, rgba(255, 157, 20, 1) 0%, rgba(255, 191, 0, 1) 99%) ;
    @if $appType == "LJ" {
      background: linear-gradient(90deg, #FFE14D 0%, #FFCB3B 100%);
      color:#252629;
      font-size: 0.81rem;
      font-weight: bold;
    }
  }

  .phoneBg {
    background: linear-gradient(270deg, rgba(247, 72, 37, 1) 0%, rgba(255, 128, 0, 1) 100%);
    @if $appType == "LJ" {
      background: linear-gradient(90deg, #FFBB33 0%, #FF9933 100%);
      color:#252629;
      font-size: 0.81rem;
      font-weight: bold;
    }
  }

  .fr.phone.phone-all-r {
    border-radius: 1.38rem;
    width: fit-content;
    padding: 0 1.25rem;
    
  }
  .fr.chat.chat-all-r {
    border-radius: 1.38rem;
    width: fit-content;
    padding: 0 1.25rem;
  }
}
.call-box-xwtwo .phone,
.call-box-xwtwo .chat {
  margin: 0 auto;
}

::ng-deep .match-padding .action-sheet-button.action-sheet-font-top.sc-ion-action-sheet-md {
  padding: 0 0px;
  padding-top: 2px;
}

::ng-deep .action-sheet-font-color .sc-ion-action-sheet-md {
  font-size: 16px;
  color: #27282e;
  letter-spacing: 0;
  line-height: 16px;
  justify-content: center;
}

::ng-deep .action-sheet-font-top .sc-ion-action-sheet-md {
  border-top: 5px #ebebed solid;
}

@media screen and (max-width: 375px) {
  .call-box .phone,
  .call-box .chat {
    // width: auto;
    // padding: 0 0.5rem;
    font-size: 0.75rem;
    line-height: 2.25rem;
    width: 3.94rem;
    height: 2.25rem;
    margin-top: 0.25rem;
  }

  .call-box-xwtwo .phone,
  .call-box-xwtwo .chat {
    width: 4.94rem;
    margin: 0 auto;
  }
}

.nickname-h1 {
  max-width: 6.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
  color: #27282e;
  @if $appType == "LJ" {
    color: $LJLabelColor;
  }
  font-weight: bold;
  // line-height: 1rem;
}

.employee-tag-span {
  height: 1rem;
  font-size: 0.69rem;
  font-weight: 500;
  color: rgba(116, 133, 166, 1);
  line-height: 0.9rem;
  background-color: rgba(134, 149, 179, 0.15);
  padding: 0 0.31rem;
  border-radius: 2px;
  margin-left: 0.31rem;
}

.status-tag-span {
  height: 1rem;
  font-size: 0.69rem;
  font-weight: 500;
  color: rgba(116, 133, 166, 1);
  line-height: 0.9rem;
  margin-left: 0.25rem;
}

.margin-top-5px {
  margin-top: 0.31rem;
}

.display-flex {
  display: flex;
  align-items: center;
}

.waitForLoadMobile {
  width: 7rem;
  height: 0.75rem;
  background: #e3e5e8;
  min-width: 4.5rem;
}

.mobile-font {
  color: #959ba6;
  font-size: 0.75rem;
  margin-top: 0.31rem;
}
.big-btn{
  width: 11.25rem !important;
  height: 2.5rem!important;
  background: linear-gradient(90deg, #FFE14A 0%, #FFCA3A 100%)!important;
  border-radius: 1.38rem!important;
  font-size: 0.88rem!important;
  font-weight: bold!important;
  color: #252629!important;
  line-height: 2.5rem!important;
  text-align: center!important;
}